package com.test;

public class Exceptions {
	
	public static void main(String[] args) throws Exception {
				
		
		System.out.println(Exceptions.catchException() == null);
	}
	
	public static void test() {
		throw new RuntimeException("运行异常");
	}
	
	public static String catchException() throws Exception {
		String aa = null;
		try {
			Exceptions.test();
		} catch (Exception e) {
			
			e.printStackTrace();
			return null;
		}
		return aa;
	}

}
